package org.jeecg.modules.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;


public interface JigouMapper<OrgMain> extends BaseMapper<OrgMain> {
    @Select("SELECT COALESCE(MAX(CAST(SUBSTRING(org_code, 3) AS UNSIGNED)), 0) FROM org_main")
    Integer getMaxOrderNumber();
}
